<%= render :partial => 'messages' %>

<% unless @phone_number.nil? %>
<%= error_messages_for 'phone_number' %>
<% end %>